package base;

import java.io.File;

public class InitImageAndFont {
    public static File zzFile;
    public static File baseFile;
    public static File fontFile;
    public static File defatFontFile;

    public InitImageAndFont() {
    }

    public static void init() {
        baseFile = new File("resources/base/1.jpg");
        if (baseFile == null) {
            System.out.println("请放入主图。");
            System.exit(0);
        }

        zzFile = new File("resources/ext/1.png");
        if (zzFile == null) {
            System.out.println("请放入扩展图片。");
            System.exit(0);
        }

        fontFile = new File("resources/font/font.ttf");
        defatFontFile = new File("resources/defatfont/font.ttf");
    }
}
